http://www.vb-helper.com/HowTo/command.zip

	Purpose
Get long file names for command line arguments

	Method
Use the FindFirstFile API function.

If you drag a file onto an executable program written in VB, or use
Explorer's SentTo command to send files to it, that program can use
the Command$ statement to get a space-separated list of the files
that were dragged. Because the list uses spaces to separate the files,
the file names cannot contain spaces.

To avoid this issue, the file names are the short, DOS file names.
This example shows how to convert those names into nice long versions.

To test the program, build its executable. Then drag files with long
file names or names that contain spaces (this Zip file contains one)
onto the exe file.

Thanks to Patrice Goyer (patrice.goyer@goelis.com).

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
